package com.jhsw.roadsun.module.business.enums;

import com.jhsw.roadsun.framework.common.exception.ErrorCode;

/**
 * @author Y.sugar
 * @since 2024/8/8 11:08
 */
public interface ErrorCodeConstants {

    // ========== 公共相关 1_008_000_000 ==========
    ErrorCode SERVICE_BUSY = new ErrorCode(1_008_000_000, "服务繁忙，请稍后重试");
    ErrorCode NO_PERMISSION = new ErrorCode(1_008_000_001, "您无权限操作");
    ErrorCode BUFFERED_IMAGE_IS_NULL = new ErrorCode(1_008_000_002, "BufferedImage Is Null");

    // ==================== 用户相关 1_008_001_000 ====================
    // ========== 用户相关 1_008_001_000 ==========
    ErrorCode BIZ_USER_NOT_EXISTS = new ErrorCode(1_008_001_000, "用户信息不存在");
    ErrorCode BIZ_USER_CREATE_ERROR = new ErrorCode(1_008_001_001, "用户注册失败，请稍后重试");
    ErrorCode BIZ_USER_PASSWORD_ERROR = new ErrorCode(1_008_001_002, "密码错误");
    ErrorCode BIZ_USER_NOT_REGISTER = new ErrorCode(1_008_001_003, "手机号未注册");
    ErrorCode BIZ_USER_MOBILE_CHANGE_CONSISTENT = new ErrorCode(1_008_001_004, "新换绑的手机号与原手机号一致");
    ErrorCode BIZ_USER_MOBILE_CHANGE_ORIGINAL_ERROR = new ErrorCode(1_008_001_005, "原手机号不正确");
    ErrorCode BIZ_USER_MOBILE_CHANGE_ERROR = new ErrorCode(1_008_001_005, "手机号不正确");
    ErrorCode BIZ_USER_MOBILE_CHANGE_NEW_IS_EXISTS = new ErrorCode(1_008_001_006, "新手机号已经注册");
    ErrorCode BIZ_USER_MOBILE_IS_EXISTS = new ErrorCode(1_008_001_007, "手机号已经注册");
    ErrorCode BIZ_USER_ACCOUNT_DISABLE = new ErrorCode(1_008_001_008, "账号已被禁用");
    ErrorCode BIZ_USER_PASSWORD_NOT_SET = new ErrorCode(1_008_001_009, "您还未设置密码");
    ErrorCode BIZ_USER_SAVE_ERROR = new ErrorCode(1_008_001_010, "用户新增失败");

    // ========== 微信相关 1_008_001_050 ==========
    ErrorCode WE_CHAT_LOGIN_NOT_RESP = new ErrorCode(1_008_001_050, "请求微信认证无响应");
    ErrorCode WE_CHAT_GET_WECHAT_OPENID_ERROR = new ErrorCode(1_008_001_051, "微信认证失败，请稍后重试");
    ErrorCode WE_CHAT_MOBILE_GET_AUTH_IS_NULL = new ErrorCode(1_008_001_052, "手机号获取凭证为空");
    ErrorCode WE_CHAT_MOBILE_AUTH_ERROR = new ErrorCode(1_008_001_053, "手机号凭证认证失败");

    // ========== 地址簿 1_008_002_000 ==========
    ErrorCode USER_ADDRESS_NOT_EXISTS = new ErrorCode(1_008_002_000, "地址簿不存在");

    // ==================== 寄件信息 1_008_003_000 ====================
    // ========== 寄件信息 1_008_003_000 ==========
    ErrorCode EXPRESSAGE_NOT_EXISTS = new ErrorCode(1_008_003_000, "寄件信息不存在");
    ErrorCode EXPRESSAGE_CREATE_ERROR = new ErrorCode(1_008_003_001, "寄件信息创建失败");
    ErrorCode EXPRESSAGE_CAN_NOT_DELETE = new ErrorCode(1_008_003_002, "当前寄件信息不能删除");
    ErrorCode EXPRESSAGE_DOWNLOAD_FILE_ERROR = new ErrorCode(1_008_003_003, "文件下载失败");
    ErrorCode EXPRESSAGE_DOWNLOAD_FILE_REFUSE = new ErrorCode(1_008_003_004, "当前快递单号未下载成功");
    // ========== 寄件货物信息 1_008_003_050 ==========
    ErrorCode EXPRESSAGE_GOODS_NOT_EXISTS = new ErrorCode(1_008_003_050, "寄件货物信息不存在");

    // ========== 参数配置 1_008_010_000 ==========
    ErrorCode BIZ_CONFIG_NOT_EXISTS = new ErrorCode(1_008_010_000, "参数配置不存在");
    ErrorCode BIZ_CONFIG_ORDER_NOT_LESS_NEXT_ORDER_NO = new ErrorCode(1_008_010_001, "当前订单号不能小于 {}");
}
